FROM java:8

MAINTAINER kequandian www.kequandian.com

VOLUME /tmp
ADD ./target/wegou-api-1.0.0-standalone.jar /app.jar
COPY setup.sh /setup.sh
RUN bash -c 'touch /app.jar'
EXPOSE 8080
#ENTRYPOINT ["java","-jar","/app.jar"]
CMD ["sh", "/setup.sh"]